package com.sharemarking.system.exception;

import com.sharemarking.system.dto.ExceptionType;

/**
 * 参数错误
 * @author song
 *
 */
public class ApiException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private ExceptionType et;
	
	public ApiException(ExceptionType et) {
		this.et=et;
	}
	
	public ExceptionType getExceptionType(){
		return et;
	}
	
}
